// import { http } from "../utils/http";
import http from "../utils/http/service";

//开工新增业务接口
export const addNewOperationApi = (data): any => {
  return http.post("/snow-admin/proSec/startWork/add", data);
};

// 流程启动接口
export const startConstructionApi = (data): any => {
  return http.post("/snow-admin/proSec/startWork/batchStart", data);
};

//点击进入详情页面
export const acquireDetailApi = (data): any => {
  return http.get("/snow-admin/proSec/startWork/info/" + data);
};

//开工更新业务接口
export const updateDetailApi = (data): any => {
  return http.post("/snow-admin/proSec/startWork/update", data);
};
